<?php echo $html->script(array('jquery')); ?>
<div class="columns clear bt-space20">
                    	<div class="col1-4 center">
                        	<td><?php echo $html->image("doanvien/".$member['UnionMember']['picture'], array('width'=>'100px', 'height'=>'133px', 'class'=>'bt-space10'));?></td>
                            <ul class="bt-space10">
                            	<li>
                            		<?php
                            		echo $html->link('Quá trình hoạt động đoàn',
                            						array('controller'=>'UnionMembers',
                            							  'action'=>'biography',
                            							  $member['UnionMember']['id'])); 
                            		?>
								</li>
                            	<li><a href="qldv-DVThamGiaPT.html">Tham gia phong trào</a></li>
                            	<li><a href="qldv-DoiMK.html">Đổi mật khẩu</a></li>
                            	<li><a href="#">Đăng xuất</a></li>
                            </ul>
                        </div>
                        <div class="col3-4 lastcol">
                            <div class="columns clear">
                                <div class="col1-3">
                                    <h2>Thông tin cá nhân</h2>
                                    <table class="basic" cellspacing="0">
                                    <tbody>
                                    <tr>
                                        <th>MSSV</th>
                                        <td class="full value"><?php echo $member['UnionMember']['id'] ?></td>
                                    </tr>
                                    <tr>
                                        <th>Họ tên</th>
                                        <td class="full"><?php echo $member['UnionMember']['name'] ?></td>
                                    </tr>
                                    <tr>
                                        <th>Ngày sinh</th>
                                        <td class="full"><?php echo $member['UnionMemberDetail']['birthday']?></td>
                                    </tr>
                                    <tr>
                                        <th>Giới tính</th>
                                        <td class="full">
                                        <?php
											if($member['UnionMemberDetail']['sex'] == 1)
												echo "Nam";
											else 
												echo "Nữ";
                                        ?>
                                        </td>
                                    </tr>
                                    
                                    </tbody>
                                    </table>	
                                 </div>
                                 <div class="col2-3 lastcol">
                                    <h2>Thông tin đoàn viên</h2>
                                    <table class="basic" cellspacing="0">
                                    <tbody>
                                    <tr>
                                        <th>Chi đoàn</th>
                                        <td class="full value"><?php echo $member['Union']['union_name'] ?></td>
                                    </tr>
                                    <tr>
                                        <th>Ngày vào đoàn</th>
                                        <td class="full"><?php echo $member['UnionMemberDetail']['admission_date'] ?></td>
                                    </tr>
                                    <tr>
                                        <th>Chức vụ</th>
                                        <td class="full"><?php echo $member['Position']['position'] ?></td>
                                    </tr>
                                    <tr>
                                        <th>Đoàn phí</th>
                                        <td class="full"><?php echo $member['UnionMemberDetail']['last_date_of_union_fee'] ?></td>
                                    </tr>
                                    <tr>
                                        <th>Trạng thái</th>
                                        <td class="full value"><?php echo $member['Status']['status'] ?></td>
                                    </tr>
                                    </tbody>
                                    </table>
                                </div>
                            </div>
                            
                            <div class="columns clear">
                                <div class="col3-4">
                                    <h2>Liên lạc</h2>
                                    
                                    <table class="basic" cellspacing="0">
                                    <tbody>
                                                <tr>
                                                    <th>Email</th>
                                                    <td class="full">
                                                    	<?php if ($member['UnionMemberDetail']['email']){
                                                    	 echo $member['UnionMemberDetail']['email'];} else echo "không có" ?>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <th>Địa chỉ thường trú</th>
                                                    <td class="full"><?php echo $member['UnionMemberDetail']['registered_address'] ?></td>
                                                </tr>

                                                <tr>
                                                    <th>Địa chỉ liên lạc</th>
                                                    <td class="full"><?php echo $member['UnionMemberDetail']['current_address'] ?></td>
                                                </tr>
                                                <tr>
                                                    <th>Điện thoại liên lạc</th>
                                                    <td class="full"><?php

                                                    if ($member['UnionMemberDetail']['phone'])
                                                    {
                                                    	echo $member['UnionMemberDetail']['phone'];
                                                    }
                                                    else{
                                                    	echo "Không có";
                                                    }
                                                    	
                                                    ?></td>
                                                </tr>
                                            </tbody>
                                    </table>
                                    
                                    
                             	</div>  
                         	</div>
                         </div>
                     </div>
                </div>